package com.coin.exchange.bitfinex.vo;

/**
 * 交易
 * @author duyuchong
 *
 */
public class Trade {

	/*
	 * Trade ID
	 */
	private int tid;
	
	private long timestamp;
	
	/*
	 * 价格
	 */
	private double price;
	
	/*
	 * 数量
	 */
	private double amount;
	
	/*
	 * "bitfinex"
	 */
	private String exchange;
	
	/*
	 * “sell” or “buy” (can be “” if undetermined)
	 */
	private String type;

	public int getTid() {
		return tid;
	}

	public void setTid(int tid) {
		this.tid = tid;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public String getExchange() {
		return exchange;
	}

	public void setExchange(String exchange) {
		this.exchange = exchange;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
